package com.org.gsc.zsqdemos.adapters;

import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

import com.org.gsc.zsqdemos.fragments.A;

import java.util.List;

/**
 * Created by qundui on 2017/6/17.
 */

public class MypstAdapter1 extends FragmentPagerAdapter {


    public MypstAdapter1(FragmentManager fm) {
        super(fm);
    }

    @Override
    public Fragment getItem(int position) {
        return A.newInstance(position);
    }

    @Override
    public int getCount() {
        return 4;
    }
}
